home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
games
/
ippon
/
source.lzh
/
FuncEffect
/
expl.c
next >
Wrap
C/C++ Source or Header
|
2000-07-07
|
508b
|
30 lines
/* explzako.c ザコキャラ爆発パターン */
#include <xsp2lib.h>
#include "../main.h"
#include "../effect.h"
static short EffectMoveExplZako (EFFECT *);
/* エフェクト出現時に呼ばれる */
void EffectAllocExplZako (EFFECT * p)
{
p->pt = obj_explall + 71;
p->info = 0x0100 | PRIORITY_ZAKO_EXPL;
p->func_effect_move = EffectMoveExplZako;
}
/* ザコキャラ爆発 */
static short EffectMoveExplZako (EFFECT * p)
{
if (p->pt++ >= obj_explall + 71 + 29 - 1)
return (-1);
else
xobj_set_st (p);
return (0);
}